package com.cvs.bean;

public class Address {
    private Integer id;
    // `id` int(11) NOT NULL AUTO_INCREMENT,
    //  `uid` int(11) DEFAULT NULL,
    //  `province` varchar(200) COLLATE utf8_bin DEFAULT NULL,
    //  `city` varchar(200) COLLATE utf8_bin DEFAULT NULL,
    //  `country` varchar(200) COLLATE utf8_bin DEFAULT NULL,
    //  `address` varchar(256) COLLATE utf8_bin DEFAULT NULL,
    //  `isdefault` tinyint(1) DEFAULT NULL,
    private Integer uid;
    private Integer isdefault;
    private String province;
    private String city;
    private String phone;
    private String country;
    private String address;

    @Override
    public String toString() {
        return "Address{" +
                "id=" + id +
                ", uid=" + uid +
                ", isdefault=" + isdefault +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", phone='" + phone + '\'' +
                ", country='" + country + '\'' +
                ", address='" + address + '\'' +
                '}';
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getIsdefault() {
        return isdefault;
    }

    public void setIsdefault(Integer isdefault) {
        this.isdefault = isdefault;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
